<#import "/spring.ftl" as spring/>
<#macro page title>
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title></title>
    <link rel="stylesheet" href="<@spring.url '/assets/css/bootstrap.min.css?v=3.4.0' />" type="text/css" />
    <link rel="stylesheet" href="<@spring.url '/assets/css/jquery.gritter.css' />" type="text/css" />
    <link rel="stylesheet" href="<@spring.url '/assets/css/font-awsome.css' />" type="text/css" />
    <link rel="stylesheet" href="<@spring.url '/assets/css/animate.css' />" type="text/css" />
    <link rel="stylesheet" href="<@spring.url '/assets/css/style.css?v=2.2.0' />" type="text/css" />
    <link rel="stylesheet" href="<@spring.url '/assets/css/datatable.css' />" type="text/css" />
    <link rel="stylesheet" href="<@spring.url '/assets/css/bootstrap-datepicker3.min.css' />" type="text/css" />
    <link rel="stylesheet" href="<@spring.url '/assets/css/common.css' />" type="text/css" />
	<script src="<@spring.url '/assets/js/jquery-2.1.1.min.js' />"></script>
	<script src="<@spring.url '/assets/js/bootstrap.min.js' />"></script>
	<script src="<@spring.url '/assets/js/jquery.metisMenu.js' />"></script>
	<script src="<@spring.url '/assets/js/jquery.slimscroll.min.js' />"></script>
	<script src="<@spring.url '/assets/js/loukou.js' />"></script>
	<script src="<@spring.url '/assets/js/pace.min.js' />"></script>
	<script src="<@spring.url '/assets/js/frame.js' />"></script>
	<script src="<@spring.url '/assets/js/jquery.dataTables.js' />"></script>
	<script src="<@spring.url '/assets/js/dataTables.bootstrap.js' />"></script>
	<script src="<@spring.url '/assets/js/bootstrap-datepicker.min.js' />"></script>
    <script src="<@spring.url '/assets/js/bootstrap-datepicker.zh-CN.min.js' />"></script>
	
    <script src="<@spring.url '/assets/js/angularjs/1.4.1/angular.min.js' />"></script>
    <script src="<@spring.url '/assets/js/jquery.confirm/jquery.confirm.js' />"></script>
    <script src="<@spring.url '/assets/pagejs/common/base.js' />"></script>
    <script src="<@spring.url '/assets/js/My97DatePicker/WdatePicker.js' />"></script>
 	<script src="<@spring.url '/assets/js/layer/layer.js' />"></script>
 	<script src="<@spring.url '/assets/js/layer/extend/layer.ext.js' />"></script>
 	<script src="<@spring.url '/assets/js/purchase/util.js' />"></script>
	<script>
		function hasPrivilege(privilege){
			<#if privileges?exists>
				<#list privileges as privilege>
					if("${privilege}" == privilege){
						return true;
					}
				</#list>
			</#if>
			return false;
		}
	</script>
  </head>
<body  style=" background-color:#f3f3f4">
    <div ng-app='myapp'>
    	
    	<div class="row">
                <div class="col-lg-12">
                    <div class="wrapper wrapper-content">
                    	<#nested/>
                    </div>
                </div>
                
            </div>
    </div>
</body>
</html>
</#macro>